package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.xinzi.JibenQitajine;
import com.example.logistics_oa.service.JibenQitajineService;
import com.example.logistics_oa.mapper.JibenQitajineMapper;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【jiben_qitajine】的数据库操作Service实现
* @createDate 2023-02-03 20:39:18
*/
@Service
public class JibenQitajineServiceImpl extends ServiceImpl<JibenQitajineMapper, JibenQitajine>
    implements JibenQitajineService{
    @Autowired
    JibenQitajineMapper jibenQitajineMapper;

    @Override
    public int insertQita(JibenQitajine jibenQitajine) {
        return jibenQitajineMapper.insertQita(jibenQitajine);
    }

    @Override
    public List<JibenQitajine> selectAllQita(String jibenId) {
        return jibenQitajineMapper.selectAllQita(jibenId);
    }

    @Override
    public int updateJIbenQiTaShiJianAndJine(int zhujian, String shijianjianshu, Double jine) {
        return jibenQitajineMapper.updateJIbenQiTaShiJianAndJine(zhujian, shijianjianshu, jine);
    }

    @Override
    public int insertQitaOnePerson(JibenQitajine jibenQitajine) {
        return jibenQitajineMapper.insertQitaOnePerson(jibenQitajine);
    }

    @Override
    public List<JibenQitajine> selectOnePerson(String jibenId, String gonghao) {
        return jibenQitajineMapper.selectOnePerson(jibenId,gonghao);
    }

    @Override
    public int updateQiTaOne(int jibenzhujian) {
        return jibenQitajineMapper.updateQiTaOne(jibenzhujian);
    }

    @Override
    public int updateQiTaAll(String jibenId) {
        return jibenQitajineMapper.updateQiTaAll(jibenId);
    }

    @Override
    public List<JibenQitajine> selectByIdAndSend(String jibenId, int jibensend) {
        return jibenQitajineMapper.selectByIdAndSend(jibenId, jibensend);
    }

    @Override
    public List<JibenQitajine> selectOnePerson22(String jibenId, String jibenGonghao) {
        return jibenQitajineMapper.selectOnePerson22(jibenId,jibenGonghao);
    }


}




